package verifycode

type Store interface {
	// 保存验证码
	Set(key string, value string) bool
	// 获取验证码
	Get(key string, clear bool) string
	// 检查验证码是否正确
	Verify(key, answer string, clear bool) bool
}
